<?php

/**
 * product actions.
 *
 * @package    toolrental
 * @subpackage product
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class productActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeShow(sfWebRequest $request)
  {
	  $this->product = ProductPeer::retrieveByPK($request->getParameter("id"));
	  $this->safetys = $this->product->getProductSafetysJoinSafety();
	  $this->prices = $this->product->getProductPricecategorysJoinPricecategory();
  }
}
